<!DOCTYPE HTML>
<html>
<head>
<title>{#$site_title#}</title>
<meta charset="utf-8">
<meta name="Keywords" content="{#$site_keywords#}" />
<meta name="Description" content="{#$site_description#}" />
<meta name="Copyright" content="Powered By yzdir.com" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link href="{#$site_root#}public/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">var sitepath = '{#$site_root#}'; var rewrite = '{#$cfg.link_struct#}';</script>
<script type="text/javascript" src="{#$site_root#}public/scripts/jquery.min.js"></script>
<script type="text/javascript" src="{#$site_root#}public/scripts/common.js"></script>
</head>

<body>
{#include file="topbar.html"#}
<div class="main-container">
	{#include file="header.html"#}
    <div class="spacer-10"></div>
    <div class="quickbox"><strong>快速审核：</strong>{#foreach from=get_websites(0, 12, true) item=quick#}<a href="{#$quick.web_link#}" title="{#$quick.web_name#}">{#$quick.web_name#}</a>{#/foreach#}</div>
    <div class="spacer-10"></div>
	<div class="content-container">
		<div class="left-column">
    		<dl class="category-list clearfix">
        		{#foreach from=get_categories() item=cate#}
                {#if $cate.cate_mod == 'webdir'#}
        		<dt><a href="{#$cate.cate_link#}">{#$cate.cate_name#}</a></dt>
            	<dd>
            		<ul class="subcategory-list">
                		{#foreach from=get_categories($cate.cate_id) item=scate#}
                		<li><a href="{#$scate.cate_link#}">{#$scate.cate_name#}</a></li>
                    	{#/foreach#}
                	</ul>
            	</dd>
                {#/if#}
            	{#/foreach#}
        	</dl>
            <div class="spacer-10"></div>
			<div class="latest-listings">
            	<h3>最新收录</h3>
                <ul class="latest-list">
                	{#foreach from=get_websites(0, 14) item=new#}
					<li><span>{#$new.web_ctime#}</span><a href="{#$new.web_link#}" title="{#$new.web_name#}">{#$new.web_name#}</a></li>
                   	{#/foreach#}
                </ul>
            </div>
    	</div>
    	<div class="right-column">
    		<div class="recommended-list">
        		<h3><span>站长推荐</span></h3>
            	<ul class="clearfix bestlist">
            		{#foreach from=get_websites(0, 35, false, true) item=best#}
                	<li><a href="{#$best.web_link#}" title="{#$best.web_name#}">{#$best.web_name#}</a></li>
                	{#/foreach#}
            	</ul>
        	</div>
        	<div class="spacer-10"></div>
        	<div class="cool-sites" class="clearfix">
        		<h3>酷站导航</h3>
            	<ul class="cool-site-list">
            		{#foreach from=get_best_categories() item=cate name=csite#}
                	<li><h4><a href="{#$cate.cate_link#}">{#$cate.cate_name#}</a></h4><a href="{#$cate.cate_link#}" class="more">更多>></a>{#foreach from=get_websites($cate.cate_id, 5) item=cool#}<span><a href="{#$cool.web_link#}" title="{#$cool.web_name#}">{#$cool.web_name#}</a></span>{#/foreach#}</li>
                    {#if $smarty.foreach.csite.iteration % 5 == 0 && $smarty.foreach.csite.iteration != 20#}
                    <li class="separator-line"></li>
                    {#/if#}
                	{#/foreach#}
            	</ul>
        	</div>
            <div class="spacer-10"></div>
            <div class="row-container" class="clearfix">
    			<div class="news-list">
        			<h3>站点资讯</h3>
                	<ul class="news-items">
                		{#foreach from=get_articles(0, 8, false) item=art#}
                		<li><span>{#$art.art_ctime#}</span><a href="{#$art.art_link#}">{#$art.art_title#}</a></li>
                    	{#/foreach#}
                	</ul>
        		</div>
                <div class="line"></div>
				<div class="exchange-links">
            		<h3>链接交换</h3>
                	<ul class="exchange-items">
                		{#foreach from=get_weblinks(0, 8) item=link#}
						<li><a href="{#$link.web_link#}">{#$link.link_name#} - PR{#$link.web_grank#}，百度权重{#$link.web_brank#}，{#$link.deal_type#}友情链接</a></li>
                   		{#/foreach#}
                	</ul>
                </div>
            </div>
    	</div>
	</div>
    <div class="spacer-10"></div>
	<div class="recent-visits" class="clearfix">
      	<h3>最新点入</h3>
        <ul class="recent-visits-list">
          	{#nocache#}
          	{#foreach from=get_websites(0, 30, false, false, 'instat') item=instat#}
			<li><a href="{#$instat.web_link#}" title="{#$instat.web_name#}">{#$instat.web_name#}</a></li>
            {#/foreach#}
            {#/nocache#}
        </ul>
	</div>
	<div class="spacer-10"></div>
    <div class="friend-links" class="clearfix">
        <h3>友情链接</h3>
        <ul class="friend-links-list">
        	{#foreach from=get_links() item=link#}
			<li><a href="{#$link.link_url#}" target="_blank">{#$link.link_name#}</a></li>
            {#/foreach#}
    	</ul>
    </div>
	{#include file="footer.html"#}
</div>
</body>
</html>